package com.vhall.component.service.room;

import com.vhall.component.entity.room.entity.RoomJoinsEntity;

/**
 * @author xuyongzheng
 * @since 5/8/21 3:31 PM
 **/
public interface RoomJoinService {
    /**
     * 获取用户参会信息
     *
     * @param accountId account id
     * @param roomId    room id
     * @return
     */
    /* RoomJoinsEntity findByAccountIdAndRoomId(Integer accountId, String roomId);*/


    /**
     * 更新参会人 问卷回答状态
     *
     * @param joinId 参会id
     * @param flag   状态
     * @return
     */
    Boolean updateQuestionFlag(Integer joinId, Integer flag);

    RoomJoinsEntity getRoomJoin(String roomId, Integer accountId);
}
